<html>
<head>
<meta http-equiv="Content-Type"content="text/html; charset=utf8" />
<title></title>
</head>
<body>
<h5 align=center>功能列表</h5>
<center>
    <?php
    session_start();
    if((!isset($_SESSION["role"]))||($_SESSION["role"]==""))
            echo "<br /><a href=\"/szut_myframe/functions/randshow.php\"target='abc'>随机社团显示</a> ";
    else{
        if($_SESSION["role"]=="mana"){
            echo "<br /><a href='./mana/updatesoci_do.php' target='abc'>更改信息</a> ";
            echo "<br /><a href=\"./mana/addjob.php\"target='abc'>发布岗位</a> ";
            echo "<br /><a href=\"./mana/deljob.php\"target='abc'>删除岗位</a> ";
            echo "<br /><a href=\"./mana/stusoci.php\"target='abc'>处理志愿</a> ";

        }
        else{

            echo "<br /><a href=\"./student/showunselected.php\"target='abc'>查看未选社团</a> ";
            echo "<br /><a href=\"./student/showmywill.php\"target='abc'>查看已选社团</a> ";
            echo "<br /><a href=\"./student/searchsoci.php\"target='abc'>查询社团</a>";
        }
    
 }
    ?>
</center>
</body>
</html>
